<?php

class Queries_inc_passcheck {
	
	/**
	* SQL query
	*/
	var $sql;
		
	/**
	 * Describe el name, login_id, password, permission y lockflag de la tabla care_users
	 * donde el login_id sea igual al parametro suministrado
	 * @params $userid
	 * jl
	 */
	function select_care_users($userid){
		$sql='SELECT name, login_id, password, permission, lockflag FROM care_users WHERE login_id=\''.addslashes($userid).'\'';
		return $sql;
	}
}
?>
